package com.basic.inspection.dao.mapper;

import com.basic.inspection.dao.model.PumpPerformanceData;
import com.basic.inspection.dao.model.PumpPerformanceDataExample;
import com.basic.inspection.dao.model.PumpPerformanceDataKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PumpPerformanceDataMapper {
    long countByExample(PumpPerformanceDataExample example);

    int deleteByExample(PumpPerformanceDataExample example);

    int deleteByPrimaryKey(PumpPerformanceDataKey key);

    int insert(PumpPerformanceData record);

    int insertSelective(PumpPerformanceData record);

    List<PumpPerformanceData> selectByExample(PumpPerformanceDataExample example);

    PumpPerformanceData selectByPrimaryKey(PumpPerformanceDataKey key);

    int updateByExampleSelective(@Param("record") PumpPerformanceData record, @Param("example") PumpPerformanceDataExample example);

    int updateByExample(@Param("record") PumpPerformanceData record, @Param("example") PumpPerformanceDataExample example);

    int updateByPrimaryKeySelective(PumpPerformanceData record);

    int updateByPrimaryKey(PumpPerformanceData record);
}